<%@ taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%--
  Created by IntelliJ IDEA.
  User: LMY
  Date: 2025/6/22
  Time: 00:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
      <title>c:if标签</title>
  </head>
  <body>
  <h1>c:if标签的使用</h1>
    <c:set value="10" var="num1" scope="request"></c:set>
    <c:set value="20" var="num2" scope="request"></c:set>
    <c:if test="${num1 < num2}">
      <h1>${num1} < ${num2}</h1>
    </c:if>
  </body>
</html>
